<template>
  <p>AAA</p>
</template>

<script lang="ts">
export default {
  name: "AAA",
  mounted() {
    console.log(this.$parent); // 当前组件父组件实例对象
  },
  data() {
    return {
      number: 1,
    };
  },
};
</script>
